﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Employ
    {
        [Key]
        public string EmployId { get; set; }
        public string EmployName { get; set; }
        public string EmployPhone { get; set; }
        public string EmployAddress { get; set; }
        public int EmployCharge { get; set; }
        public string EmployPassword { get; set; }

        [ForeignKey("Branch")]
        public string BranchId { get; set; }

        public virtual Branch Branch { get; set; }

    }
}
